<?php
namespace Hive\Vacation\Request;
/**
 * Vacation Status Object.
 *
 * It represant the status of a request
 *
 * @author Xavier VILAIN
 * @package Hive\Vacation\Request
 *
 * @property string	$type			Status code (4)
 * @property string	$language		Status language (5)
 * @property string	$label			Label (100)
 * @property bool	$standard		Is a standard type (can't be deleted)
 * @property bool	$active			Is an active type (can be selected)
 */
class Status extends \Fox\Object {

	/**
	 * Not Sent
	 * @var string
	 */
	const NOT_SENT = "0";

	/**
	 * Waiting for validation
	 * @var string
	 */
	const WAITING = "1";

	/**
	 * Validated
	 * @var string
	 */
	const VALIDATED = "2";

	/**
	 *
	 * Refused
	 * @var string
	 */
	const REFUSED = "9";

}
\Fox\Dao::infos(
	Status::className(),
	new \Fox\Object\Info('vacation_request_status', \Fox\Databases::DB_APP)
);